package sdufe.lele.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class Userinfo implements Serializable {
    private Integer userid;

    private String username;

    private String userage;

    private String usertele;

    private String useremail;

    private String userpassword;

    private Integer userlevel;

    private Date usercreatedate;

    private BigDecimal balance;

    public Userinfo()
    {

    }

    public Userinfo(String username, String userage, String usertele, String useremail, String userpassword, Integer userlevel) {
        this.username = username;
        this.userage = userage;
        this.usertele = usertele;
        this.useremail = useremail;
        this.userpassword = userpassword;
        this.userlevel = userlevel;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserage() {
        return userage;
    }

    public void setUserage(String userage) {
        this.userage = userage;
    }

    public String getUsertele() {
        return usertele;
    }

    public void setUsertele(String usertele) {
        this.usertele = usertele;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public Integer getUserlevel() {
        return userlevel;
    }

    public void setUserlevel(Integer userlevel) {
        this.userlevel = userlevel;
    }

    public Date getUsercreatedate() {
        return usercreatedate;
    }

    public void setUsercreatedate(Date usercreatedate) {
        this.usercreatedate = usercreatedate;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
}